﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Zoo.Cat.Web.Framework;
using Zoo.Cat.Domain.Entities.Jobseekers;
using Zoo.Cat.Application.Authentication;
using Zoo.Cat.Application.Jobseekers;
using Zoo.Infrastructure;

namespace Zoo.Cat.Web.Framework {
    public class WorkContext2 : IWorkContext {

        private readonly HttpContextBase _httpContext;
        private readonly IJobseekerService _jobseekerServiceService;
        private readonly IAuthenticationService _authenticationService;
       // private readonly IWebHelper _webHelper;

         #region Ctor

        public WorkContext2(HttpContextBase httpContext,
             IAuthenticationService authenticationService,
            //WebHelper webHelper,
            IJobseekerService jobseekerService
            ) {
                 _httpContext = httpContext;
                 _authenticationService = authenticationService;
                 //_webHelper = webHelper;
                 jobseekerService = jobseekerService;
        }

        #endregion
        public Jobseeker CurrentUser {
            get {
                return new Jobseeker {
                    JobseekerId = Guid.NewGuid(),
                    Email = "jobseeker@myhome.com",
                    Active = true,
                    Username = "yidiao",
                };

                        }
            set {
                
            }
    }
    }
}